package com.aiyige.page.advertisement.model;

import java.util.List;

public class AdResponse {
    public static final String AD_STATUS_PROCESS = "process";
    public static final String AD_STATUS_WAITING = "waiting";
    public static final String AD_STATUS_EXPIRED = "expired";
    public static final String AD_STATUS_STOPPED = "stopped";
    public static final String AD_STATUS_CANCELLED = "cancelled";

    public static final String AD_POSITION_APP_OPEN_IMAGE = "app_open_image";
    public static final String AD_POSITION_APP_OPEN_VIDEO = "app_open_video";
    public static final String AD_POSITION_DISCOVER_TOP = "discover_top";
    public static final String AD_POSITION_PC_MAINPAGE = "pc_mainpage";

    String id;
    String status;
    String position;
    List<PositionDetail> positionDetail;
    String pcAdvertiseUrl;
    String appAdvertiseUrl;
    String link;
    String linkMomentId;
    String linkMomentSummary;
    String creator;
    long createTime;
    long updateTime;

    public AdResponse() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public List<PositionDetail> getPositionDetail() {
        return positionDetail;
    }

    public void setPositionDetail(List<PositionDetail> positionDetail) {
        this.positionDetail = positionDetail;
    }

    public String getPcAdvertiseUrl() {
        return pcAdvertiseUrl;
    }

    public void setPcAdvertiseUrl(String pcAdvertiseUrl) {
        this.pcAdvertiseUrl = pcAdvertiseUrl;
    }

    public String getAppAdvertiseUrl() {
        return appAdvertiseUrl;
    }

    public void setAppAdvertiseUrl(String appAdvertiseUrl) {
        this.appAdvertiseUrl = appAdvertiseUrl;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getLinkMomentId() {
        return linkMomentId;
    }

    public void setLinkMomentId(String linkMomentId) {
        this.linkMomentId = linkMomentId;
    }

    public String getLinkMomentSummary() {
        return linkMomentSummary;
    }

    public void setLinkMomentSummary(String linkMomentSummary) {
        this.linkMomentSummary = linkMomentSummary;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public static class PositionDetail {
        String city;
        String avocation;
        long startTime;
        long endTime;

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getAvocation() {
            return avocation;
        }

        public void setAvocation(String avocation) {
            this.avocation = avocation;
        }

        public long getStartTime() {
            return startTime;
        }

        public void setStartTime(long startTime) {
            this.startTime = startTime;
        }

        public long getEndTime() {
            return endTime;
        }

        public void setEndTime(long endTime) {
            this.endTime = endTime;
        }
    }
}
